﻿using System;
using System.Collections.Generic;
using System.Xml.Linq;

namespace Facebook.Api
{
    /// <summary>Defines a contract required to instantiate an API wrapper type and access its properties and acts as an anchor for the
    /// extension methods found in the <see cref="FacebookObjectExtensions" /> class.</summary>
    public interface IFacebookObject
    {
        /// <summary>Gets a reference to a dictionary of properties and values for the object.</summary>
        IDictionary<String, Object> InnerDictionary { get; }

        /// <summary>Gets a reference to the </summary>
        XDocument XmlContent { get; }
        void Init(XElement element);
    }
}